package com.android.multiplesmart.bean;

import com.android.multiplesmart.websocket.JWebSocketClientService;

public class Servicess {
     public  static Servicess service;
     public  static int state=1;

     private  JWebSocketClientService jWebSClientService;
     public  static Servicess getService(){
          if (service==null){
              synchronized (Servicess.class){
                   if (service==null){
                       service=new Servicess();
                   }
              }
          }
          return  service;
     }

     public  void  setService( JWebSocketClientService jWebSClientService){
          this.jWebSClientService=jWebSClientService;
     }

     public  void  setState(int state){
         this.state=state;


     }

    public  int getState() {
        return state;
    }



    public  JWebSocketClientService getjWebSClientService(){
         return  jWebSClientService;
     }


}
